package com.itbaizhan.pojo;

import lombok.Data;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author spf
 * @date 2024/2/26
 * @time 10:35
 */
@Data
public class AlarmMessage {
    private int scopeId;
    private String scope;
    private String name;
    private String id0;
    private String id1;
    private String ruleName;
    private String alarmMessage;
    private List<Tag> tags;
    private long startTime;
    private transient int period;
    private Set<String> hooks = new HashSet<>();

    @Data
    public static class Tag{
        private String key;
        private String value;
    }
}
